<?php 

echo date_default_timezone_get();

// date_default_timezone_set("PRC");

// $time = time();

// $time+8*3600;
// 
// 
$date = date('Y/m/d h/i/s');

var_dump($date);

$time = time();

var_dump($time);

var_dump(date("Y-m-d H:i:s",$time));

$time = microtime(true);

var_dump($time);

$str = "2017-10-01";


$time = strtotime($str);


var_dump($time);


$time = getdate($time);


var_dump($time);













 ?>